<div ng-if="pagedata.showjishe" class="popup" style="z-index:800">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showjishe=false"></i>
			<div class="fui-page-title c" style="margin-top:-1.5rem">
					<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #f2f2f2;" src="../addons/jy_nongren/imgs/xiaoji.png" />
					<div class="">剩余粮食({{pagedata.member.lsfee||0}}G)</div>
					<div ng-if="!pagedata.member.myji ||pagedata.member.myji<=0" class="red">{{!pagedata.youmid?'您':'好友'}}目前还没有认养蛋鸡！</div>
					<div ng-if="pagedata.member.myji>0" class="red">拥有蛋鸡{{pagedata.member.myji||0}}只，待喂蛋鸡{{pagedata.member.noweiji||0}}只，已喂蛋鸡{{pagedata.member.isweiji||0}}只</div>
			</div>
			<div class="fui-cell-group" style="padding:0.5rem;">
					<div ng-repeat="item in pagedata.list" class="fui-cell" style="margin-top:0.5rem;padding:0.5rem;border-radius:0.5rem;background-color: #f5c44b;">
						<div class="fui-cell-label">
							<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #fff;" src="../addons/jy_nongren/imgs/xiaoji.png" />
						</div>
						<div class="fui-cell-text" style="font-size:0.65rem">
							<div class="" style="color:#fff">{{item.title}} <span>({{item.steptitle}})</span></div>
							<div ng-if="item.status==1" class="" style="color:#18bc9c">{{item.statustitle}}</div>
							<div ng-if="item.status!=1" class="" style="color:red">{{item.statustitle}}</div>
							<div class="" style="font-size:0.5rem;color:#f9f9f9">已喂养{{item.lsday||0}}天，已生鸡蛋{{item.jd||0}}枚，已喂养粮食{{item.lsfee||0}}G</div>
						</div>
						<div class="fui-cell-remark noremark">
							<div ng-if="item.isweitou!=1 && item.isweiji!=1" class="label label-success" ng-click="pagedata.toweiji(item.id)">点击喂养</div>
							<div ng-if="item.isweitou!=1 && item.isweiji==1" class="label label-default disabled">今日已喂养</div>
							<div ng-if="!pagedata.youmid && item.isweitou!=1 && item.lastday>1" class="label label-success" ng-click="pagedata.pay_submit({'jiid':item.id},'jy_nongren/index/weituo/')">委托投喂</div>
							<div ng-if="item.isweitou==1" class="label label-default disabled">已委托投喂</div>
						</div>
					</div>
					<div ng-if="(!pagedata.list || pagedata.list.length==0) && !pagedata.loading" class="fui-cell" style="padding:0.5rem;border-radius:0.5rem;background-color: #f5c44b;">
						<div class="fui-cell-label">
							<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #fff;" src="../addons/jy_nongren/imgs/xiaoji.png" />
						</div>
						<div class="fui-cell-text" style="font-size:0.65rem">
							<div class="" style="color:#fff">{{!pagedata.youmid?'购买蛋鸡':'好友还未认养蛋鸡'}}</div>
							<div class="" style="font-size:0.5rem;color:#f9f9f9">当前蛋鸡价格：{{pagedata.pluginset.dj_price||5}}元/只</div>
						</div>
						<div ng-if="!pagedata.youmid" class="fui-cell-remark noremark">
							<span class="label label-success" ng-click="pagedata.pay_submit({},'jy_nongren/index/buyji/')">点击认养</span>
						</div>
					</div>
			</div>
			<div ng-if="pagedata.member.myji>0" class="weui_btn_area" style="padding-bottom:1rem">
				<a ng-if="pagedata.member.noweiji>0" class="weui_btn weui_btn_primary" style="border-radius:1rem" href="javascript:" ng-click="pagedata.toweiji()">一键喂养</a>
				<a ng-if="pagedata.member.noweiji<=0" class="weui_btn weui_btn_default weui_btn_disabled" style="border-radius:1rem">今日已全部喂养</a>
			</div>
		</div>
	</div>
	<script>
	if(scope.pagedata.showjishe){
		scope.pagedata.loading=true;
		scope.tool.get_list('jy_nongren/myji/list/',true);
		scope.pagedata.scroll_bottom=function(){
			scope.tool.get_list('jy_nongren/myji/list/');
		}
	}
	</script>
</div>